<?xml version="1.0" encoding="UTF-8"?>
<ui:composition template="/WEB-INF/templates/master_frame.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:supply="http://java.sun.com/jsf/composite/components/supply"
	xmlns:general="http://java.sun.com/jsf/composite/components/general">
	<!-- use this parameter to indicat if this page requires full content width or not -->
	<ui:param name="bFullContentWidth" value="true" />

	<ui:define name="title"> - Supplier Registration</ui:define>

	<ui:define name="content">

		<h2>#{transBundle['title.supplierregistration']}</h2>
		<h:form>
				<ul id="pro_breadcrumbs-one">
					<li><a4j:commandLink value="Economic Area" render="@form"
							action="#{supplierRegistrationNavigationController.moveToIndex('countryForm')}" /></li>
					<li><a4j:commandLink value="Company Info" render="@form"
							action="#{supplierRegistrationNavigationController.moveToIndex('organisationForm')}" /></li>
					<li><a4j:commandLink value="Delivery Area" render="@form"
							action="#{supplierRegistrationNavigationController.moveToIndex('deliveryAreaForm')}" /></li>
					<li><a4j:commandLink value="Financial Transaction"
							render="@form"
							action="#{supplierRegistrationNavigationController.moveToIndex('financialTransactionForm')}" /></li>
					<li><a4j:commandLink value="Comittment"
							render="@form"
							action="#{supplierRegistrationNavigationController.moveToIndex('commitmentForm')}" /></li>
					<li><a4j:commandLink value="Verification"
							render="@form"
							action="#{supplierRegistrationNavigationController.moveToIndex('verificationForm')}" /></li>
				</ul>

				<supply:countryForm
					rendered="#{supplierRegistrationNavigationController.isToDisplay('countryForm')}" />
				<general:organisationForm
					rendered="#{supplierRegistrationNavigationController.isToDisplay('organisationForm')}" />
				<supply:deliveryAreaForm
					rendered="#{supplierRegistrationNavigationController.isToDisplay('deliveryAreaForm')}" />
				<supply:financialTransactionForm
					rendered="#{supplierRegistrationNavigationController.isToDisplay('financialTransactionForm')}" />
				<supply:commitmentForm
					rendered="#{supplierRegistrationNavigationController.isToDisplay('commitmentForm')}" />
				<supply:verificationForm
					rendered="#{supplierRegistrationNavigationController.isToDisplay('verificationForm')}" />


				<a4j:commandLink value="" styleClass="pro_btn pro_prev pro_btn_big"
					action="#{supplierRegistrationNavigationController.previous()}"
					render="@form"
					rendered="#{supplierRegistrationNavigationController.toDisplayPrevButton}">
					<span />#{transBundle['nav.previous']}					
				</a4j:commandLink>

				<a4j:commandLink value="" styleClass="pro_btn pro_next pro_btn_big"
					action="#{supplierRegistrationNavigationController.next()}"
					render="@form"
					rendered="#{supplierRegistrationNavigationController.toDisplayNextButton}">#{transBundle['nav.next']}<span />
				</a4j:commandLink>

		</h:form>
	</ui:define>
</ui:composition>
